package com.huatai.dataservice.fire.mapper;

import com.huatai.dataservice.domain.TbFireAlarmRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.mapstruct.Mapper;

import java.util.List;
import java.util.Map;

/**
* @author htzy
* @description 针对表【tb_fire_alarm_record(消防报警记录)】的数据库操作Mapper
* @createDate 2025-06-05 15:34:47
* @Entity com.huatai.dataservice.domain.TbFireAlarmRecord
*/
@Mapper
public interface TbFireAlarmRecordMapper extends BaseMapper<TbFireAlarmRecord> {

    @Select("select DATE_FORMAT(time, '%Y-%m-%d %H:%i:%s') AS time from tb_fire_alarm_record")
    List<Map<String,String>> selectAllTbFireAlarmRecord();
}




